import requests
import unittest
from JK_UI.config.config import *
from JK_UI.api.Api import Api
class Tj_Yh(unittest.TestCase):
    def test_tj_yh(self):
        api_ele=['post',cms_login_url6,cms_login_data6,cms_login_headers6]
        Api().send_api(api_ele=api_ele)
        self.value=Api().api_json_assert()
        assert self.value['msg']=="修改密码成功！"